package com.songcha.sakura.ui.view.test

import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import android.view.View

class TestTouchView
@JvmOverloads
constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyle: Int = 0,
    defRes: Int = 0
) : View(context, attrs, defStyle, defRes) {

    override fun dispatchTouchEvent(ev: MotionEvent?): Boolean {
        //LogUtil.log("BBB","dispatchTouchEvent",ev)
        return super.dispatchTouchEvent(ev)
    }

    override fun onTouchEvent(ev: MotionEvent?): Boolean {
       // LogUtil.log("BBB","onTouchEvent",ev)
        return super.onTouchEvent(ev)
        //return true
    }
}